package com.example.usercenter.service;

import com.example.usercenter.common.BaseResponse;
import com.example.usercenter.model.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
* @author linxiangxu
* @description 针对表【user】的数据库操作Service
* @createDate 2024-06-01 14:13:38
*/
public interface UserService extends IService<User> {
    /**
     *
     * @param userAccount 账号
     * @param userPassword 密码
     * @param checkPassword 校验
     * @return
     */
    long userRegister(String userAccount, String userPassword, String checkPassword);

    User userLogin(String userAccount, String userPassword, HttpServletRequest request);

    int userLayout(HttpServletRequest request);

}

